package com.yanqu.road.entity.log.cross.fivehero;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

@FieldTypeAnnotation(desc = "五雄争霸-打洛阳", tableName = "t_l_ck_activity_fivehero_log_luoyang", autoSave = true, uploadCk = true, isCross = true)
public class LogFiveHeroLuoYang extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "分组ID", isIndex = true)
    private int groupId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "城主令id")
    private long tokenId;
    @FieldTypeAnnotation(desc = "阵营id")
    private int campId;
    @FieldTypeAnnotation(desc = "防守玩家")
    private long defUserId;
    @FieldTypeAnnotation(desc = "防守阵营")
    private int defCampId;
    @FieldTypeAnnotation(desc = "造成伤害")
    private long attValue;
    @FieldTypeAnnotation(desc = "被攻击后的血量，0就是死了")
    private long nowBlood;
    @FieldTypeAnnotation(desc = "原先血量")
    private long originalBlood;
    @FieldTypeAnnotation(desc = "获得奖励")
    private String reward;

    public LogFiveHeroLuoYang(int activityId, int groupId, long userId, long tokenId, int campId, long defUserId, int defCampId, long attValue, long nowBlood, long originalBlood, String reward) {
        this.activityId = activityId;
        this.groupId = groupId;
        this.userId = userId;
        this.tokenId = tokenId;
        this.campId = campId;
        this.defUserId = defUserId;
        this.defCampId = defCampId;
        this.attValue = attValue;
        this.nowBlood = nowBlood;
        this.originalBlood = originalBlood;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

}
